<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
	<head>
		<title><s:property value='%{getText("title>area_edit_title")}' /></title>
		<link href="/SCMDB/style/SuperEdit.css" rel="stylesheet"
			type="text/css" />
		<script type="text/javascript" src="/SCMDB/js/Super.js"></script>
		<script type="text/javascript" src="/SCMDB/area/areaNew.js"></script>
	</head>
	<body>
		<div class="main">
			<s:form action="areaAction!editArea" theme="simple"
				onsubmit="return false;">
				<s:hidden name="entity.id"></s:hidden>
				<!-- 主体开始 -->
				<table border="0" cellpadding="1" cellspacing="1"
					class="tableModify">
					<tr>
						<th>
							<s:property value='%{getText("area_new_th1")}' />
						</th>
						<td>
							<s:textfield name="entity.name" cssClass="sInput" title="区域名称"/>
							<input type="hidden" value="must-input"/>
						</td>
					</tr>
					<tr>
						<th>
							<s:property value='%{getText("area_new_th2")}' />
						</th>
						<td>
							<s:select id="readerType" list="#session.readLists" listKey="lrmID" listValue="lrmName"></s:select>
							<input type="button" name="addReader11" class="bAdd" value="add" title="添加" onclick="getParent()" />
						</td>
					</tr>
					<tr>
						<th>
							<s:property value='%{getText("area_new_th3")}' />
						</th>
						<td>
							<div id="readers"></div>
							<s:hidden name="entity.readers" id="readerID"/>
						</td>
					</tr><!--
					<tr>
						<th>
							<s:property value='%{getText("area_new_th4")}' />
						</th>
						<td>
							<s:textfield name="entity.empCount" cssClass="sInput" title="区域最大人数" />
							<input type="hidden" value="must-input,must-number"/>
						</td>
					</tr><tr>
						<th>
							<s:property value='%{getText("area_new_th5")}' />
						</th>
						<td>
							<s:textfield name="entity.timeLength" cssClass="sInput" title="区域最大时间" />
							<input type="hidden" value="must-input,must-number"/>分钟
						</td>
					</tr>
					--><tr>
						<th>
							<s:property value='%{getText("area_new_th6")}' />
						</th>
						<td>
							<s:select name="entity.type" list="#session.areaListType" listKey="key"
								listValue="value" />
						</td>
					</tr>
					<tr>
						<th>
							<s:property value='%{getText("area_new_th7")}' />
						</th>
						<td>
							<s:textarea name="entity.phone" cssClass="sInputarea" title="区域电话" />
						</td>
					</tr>
				</table>
			</s:form>
		</div>
	</body>
</html>





